﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;
/// <summary>
/// Summary description for CommonBUS
/// </summary>
public class CommonBUS
{
    private CommonDA common;
	public CommonBUS()
	{
		//
		// TODO: Add constructor logic here
		//
        common = new CommonDA();
	}
    public DataSet GetTop8Design()
    {
        return common.GetTop8Design();
    }

    public DataTable GetImg()
    {
        return common.GetImg();
    }

    public DataTable GetAllCompetition()
    {
        return common.GetAllCompetition();
    }
    public DataTable GetAllCompetitionOrder()
    {
        return common.GetAllCompetitionOrder();
    }
    public DataSet GetOneAwards()
    {
        return common.GetOneAwards();
    }
    public Competition getTop2Competition()
    {
        return common.getTop2Competition();
    }

    public DataSet getCompetitions()
    {
        return common.getCompetitions();
    }
    public Competition getCompetitionUpcomming()
    {
        return common.getCompetitionUpcomming();
    }
    public Competition getDetailCompetition(string id)
    {
        return common.getDetailCompetition(id);
    }

    public Design getDetailDeisgn(string id)
    {
        return common.getDetailDesign(id);
    }

    public Design getName1Deisgn(string name)
    {
        return common.getName1Design(name);
    }
}